﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Data.SqlClient;
using DevExpress.XtraEditors;

namespace COMOSOFT.JobManagement.Froms
{
    public partial class FrmSetupReport : Form
    {
        public FrmSetupReport()
        {
            InitializeComponent();
        }

        private void bnt_Ok_Click(object sender, EventArgs e)
        {
            int numitem=checkedListBox_Status.CheckedItems.Count;
            if(numitem>0)
            {
               string Status = checkedListBox_Status.CheckedItems[0].ToString();            
               for(int item=1;item<numitem;item++)
                {
                    Status +=","+ checkedListBox_Status.CheckedItems[item].ToString();                     
                }
            }
            DateTime fromdate =Convert.ToDateTime(dateEdit_FromDate.EditValue);
            DateTime todate = Convert.ToDateTime(dateEdit_ToDate.EditValue);

            string sortmode = comboBoxEdit_Sort.SelectedItem.ToString();
            int sortoder = radioGroup_Sort.SelectedIndex;

        }
    }
}
